package com.stek.spec;

import android.os.Bundle;
import android.support.v4.view.ViewPager;

import com.google.android.gms.ads.AdView;
import com.stek.R;
import com.stek.base.BaseOverLayActivity;
import com.stek.utils.AdMode;

public class SpecsActivity extends BaseOverLayActivity {

	// =====================================================
	private ViewPager mViewPager;
	private SpecAdapter mSpecAdapter;

	// =====================================================

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_spec);
		mViewPager = (ViewPager) findViewById(R.id.pager);
		mSpecAdapter = new SpecAdapter(getSupportFragmentManager(),
				getApplicationContext());
//		PagerTabStrip strip = ((PagerTabStrip) findViewById(R.id.pgTrip));
//		strip.setTabIndicatorColor(Color.TRANSPARENT);
//		strip.setDrawFullUnderline(false);
		mViewPager.setAdapter(mSpecAdapter);
		adView = (AdView) findViewById(R.id.admod);
		AdMode.init(adView);
	}

}
